package design.create.abstract_factory.mysql;

import design.create.abstract_factory.IUser;
import design.create.abstract_factory.IDepartment;
import design.create.abstract_factory.IFactory;

/**
 * @author zxs
 * @since 2020/05/21
 */
public class MysqlFactory implements IFactory {
    @Override
    public IUser createUser() {
        return new User();
    }

    @Override
    public IDepartment createDepartment() {
        return new Department();
    }
}
